package pojo;

// Department.java
public class Department {
    private String departmentName;
    private String description;

    public Department(String departmentName, String description) {
        this.departmentName = departmentName;
        this.description = description;
    }
    
    // getters 和 setters 略


    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return departmentName + "," + description;
    }

    public String getDepartmentName() {
        return departmentName;
    }
    
    public String getDescription() {
        return description;
    }
}
